home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000374_jaltman@columbia.edu_Tue Nov 4 09:37:31 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Jeffrey Altman <jaltman@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: How do I pass a password in a kermit script
  5. Date: 4 Nov 2003 13:47:32 GMT
  6. Organization: Columbia University
  7. Lines: 33
  8. Message-ID: <bo8alk$55$2@newsmaster.cc.columbia.edu>
  9. References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <slrnbqdfj1.me9.fdc@sesame.cc.columbia.edu> <m1fzh4bym2.gnus@usa.net>
  10. NNTP-Posting-Host: mango.cc.columbia.edu
  11. X-Trace: newsmaster.cc.columbia.edu 1067953652 165 128.59.59.104 (4 Nov 2003 13:47:32 GMT)
  12. X-Complaints-To: postmaster@columbia.edu
  13. NNTP-Posting-Date: 4 Nov 2003 13:47:32 GMT
  14. User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u))
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14633
  16.  
  17. those who know me have no need of my name <not-a-real-address@usa.net> wrote:
  18. : in comp.protocols.kermit.misc i read:
  19.  
  20. :>  ftp://kermit.columbia.edu/kermit/scripts/ckermit/autossh
  21. :>
  22. :>You'll have to experiment with it.  I don't recall the details but I'm
  23. :>pretty sure I concluded it was impossible for Kermit to respond to the
  24. :>ssh client's password prompt.  See the comments in the script.
  25.  
  26. : it should be possible, provided that c-kermit runs ssh in a pty
  27. : environment, as ssh just uses /dev/tty (often via getpass() or it's kin).
  28.  
  29. Of course C-Kermit can send the password to the SSH client, this could
  30. be done either as part of the script or as part of the built in command.
  31. It just that neither is being done at the current time.  The point the
  32. comment in the script is supposed to make is that since K95 has OpenSSH
  33. built into the program it is able to automate the use of the password
  34. in ways which the PTY support in C-Kermit cannot.   (For example, know
  35. to use a password as the key to access a private key file, or as input
  36. to obtain a Kerberos credential, or as input to one of the many auth
  37. types which require a password.  
  38.  
  39. The reason it is hard in a generic script to handle all of these cases 
  40. is that it requires time to research all of the possible prompts.  
  41. Clearly, the author of the script did not take this time.  Members of
  42. the Kermit community are welcome to perform modifications and contribute
  43. updates.
  44.  
  45. -- 
  46.  Jeffrey Altman * Volunteer Developer      Kermit 95 2.1 GUI available now!!!
  47.  The Kermit Project @ Columbia University  SSH, Secure Telnet, Secure FTP, HTTP
  48.  http://www.kermit-project.org/            Secured with MIT Kerberos, SRP, and 
  49.  kermit-support@columbia.edu               OpenSSL.
  50.